﻿using System;

namespace Medianamik.Client.MVP.View
{
    public abstract class PageView : BasePage , IView
    {
        public virtual event EventHandler Initialize;
        public abstract Guid NodeId { get; }
        /// <summary>
        /// Redirige le browser vers le URL indiqué
        /// </summary>
        /// <param name="url"></param>
        public void Redirect(string url)
        {
            Response.Redirect(url);
        }
    }
}